<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <div style="text-align: left;color: red">
      <c:if test="${not empty user}">
          ${user.username}~在线吖
      </c:if>
  </div>


      <h1>首页</h1>
      <a href="/contact?method=findAll">查询所有联系人信息</a><br>
      <%-- 简单分页 --%>
        <a href="/contact?method=findByPage&pageSize=3&currentPage=1">分页查询联系人</a><br>
      <a href="/login.jsp">登录</a><br>


  </body>
</html>
